package com.zhsd.gulimall.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zhsd.gulimall.common.utils.PageUtils;
import com.zhsd.gulimall.product.entity.CategoryEntity;

import java.util.List;
import java.util.Map;

/**
 * 商品三级分类
 *
 * @author hjj
 * @email hjjadmin@163.com
 * @date 2020-06-06 10:07:43
 */
public interface CategoryService extends IService<CategoryEntity> {

    PageUtils queryPage(Map<String, Object> params);

    /**
     * 查询所有分类及子分类 , 以树形结构组装起来
     */
    List<CategoryEntity> listWithTree();

    void removeMenusByIds(List<Long> asList);
}

